package com.tocici.mapper;

import com.tocici.domain.UserBehavior;
import com.tocici.domain.vo.UserBehaviorVo;
import com.tocici.domain.vo.UserStatVo;
import org.apache.ibatis.annotations.Param;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;

import java.util.List;

/**
 * 用户行为Mapper接口
 *
 * @author zeratul
 * @date 2025-03-02
 */
public interface UserBehaviorMapper extends BaseMapperPlus<UserBehavior, UserBehaviorVo> {

    List<UserStatVo> getDurationStat();

    Integer getLikeCount(@Param("list") List<Long> list);
}
